package com.freesky.web.manager.config.durid;

import com.alibaba.druid.support.http.StatViewServlet;

import javax.servlet.annotation.WebInitParam;
import javax.servlet.annotation.WebServlet;

/**
 * @author: 陈玉林
 * @modifiedBy:
 * @date: Create In 8:59 2018/12/11
 * @description:
 */
@WebServlet(urlPatterns="/druid/*",
        initParams={
                @WebInitParam(name="allow",value=""),// IP白名单(没有配置或者为空，则允许所有访问)
                @WebInitParam(name="deny",value=""),// IP黑名单 (deny优先于allow)
//                @WebInitParam(name="loginUsername",value="admin"),// 登录druid管理页面用户名
//                @WebInitParam(name="loginPassword",value="123456")// 登录druid管理页面密码
        })
public class DruidServlet extends StatViewServlet {
}
